Imports

Define Parameters and Variables

We load only the relevant part of the audio file here. Audio is loaded in mono, and sample rate is unchanged.
The frequencies sung are extracted using a software called Praat.

Extract sarod and tabla onsets from the annotation file

Use the sarod and tabla audio to generate spectograms

Play the audio being analysed

Plotting the spectograms of tabla and sarod

Audio mixed with clicks at the sitar onset points lower pitch - tabla, higher pitch - sarod